Example proxy config
authorKornel Lesiński <kornel@geekhood.net>
Thu, 26 Jan 2017 23:28:56 +0000 (23:28 +0000)
committerKornel Lesiński <kornel@geekhood.net>
Thu, 26 Jan 2017 23:29:10 +0000 (23:29 +0000)
#3596

src/doc/config.md

index c542af429eb392530f0d0eacb3dc8babe3a4325e..798a25da68e21f4c5c564438d7eb7c64cbc2118b 100644 (file)
@@ -79,7 +79,8 @@ index = "..."   # URL of the registry index (defaults to the central repository)
 token = "..."   # Access token (found on the central repo’s website)
 
 [http]
-proxy = "..."       # HTTP proxy to use for HTTP requests (defaults to none)
+proxy = "host:port" # HTTP proxy to use for HTTP requests (defaults to none)
+                    # in libcurl format, e.g. "socks5h://host:port"
 timeout = 60000     # Timeout for each HTTP request, in milliseconds
 cainfo = "cert.pem" # Path to Certificate Authority (CA) bundle (optional)